<?php

namespace app\admin\model;

/**
 * 企业详情模型
 */
class CompanyDetail extends Common
{

    protected $table = 'tp_company_detail_information';

    protected $autoWriteTimestamp = true;
    protected $createTime = 'create_time';
    protected $updateTime = false;

    /**
     * 关联企业表
     * @return \think\model\relation\BelongsTo
     */
    public function company()
    {
        return $this->belongsTo('Company', 'company_id');
    }

}
